package cn.agiledata.bank.common.service;

import java.util.List;

import cn.agiledata.bank.hibernateBean.Account;
import cn.agiledata.bank.hibernateBean.AccountSetupInterf;
import cn.agiledata.bank.hibernateBean.SubAccount;
import cn.agiledata.bank.myspace.form.UserSetupActionForm;

public interface AccountService extends CommonInterf{
	/**
	 * account的初始化过程
	 */
	public void initialize(AccountSetupInterf account);
	
	public void initialize(String subAccountId);
	
	public void initialize(Account acco);
	
	public AccountSetupInterf getAccountSetup(String setupId);
	
	public void saveOrUpdateAccountSetup(AccountSetupInterf SaveObject);
	
	public List getAccountModelTypeList();
	
	public void pickUpSetupForm(UserSetupActionForm form,String accountId);
	
	public void saveSubAccountSetup(UserSetupActionForm form,String accountId);
	
	public void saveAccountMessage(Account account);
	
	public boolean ifCanTelephone(SubAccount sub,String moduleType);
	
	public boolean ifCanMessage(SubAccount sub,String moduleType);
}

